package com.sanjiahantang.youjiaclient.module.common.views;

import android.support.v4.app.FragmentManager;

import com.sanjiahantang.uilibrary.drawable.CartDrawable;
import com.sanjiahantang.youjiaclient.base.BaseView;

/**
 * Created by zy on 2017/8/31.
 */

public interface MainView extends BaseView {

    String TAG_HOME = "homeFragment";//主页
    String TAG_FIT = "fitmentFragment";//装修
    String TAG_SHOP = "shopFragment";//家居商城
    String TAG_CART = "shoppingCartFragment";//购物车
    String TAG_ME = "meFragment";//个人

    String TAGS[] = new String[]{
            TAG_HOME,
            TAG_FIT,
            TAG_SHOP,
            TAG_CART,
            TAG_ME
    };

    FragmentManager getFManager();

    void setButtonImage(CartDrawable cartDrawable);

    void startFragment(int flag);

    CartDrawable getCartDrawable(int i);

    boolean isFirstPage();

    void dealBottomButtonsClickEvent();

    void close();


    int DECORATE=1;


}
